package com.cddx.logistics.service.impl;

import com.cddx.logistics.domain.vo.TransformerStatisticsVo;
import com.cddx.logistics.mapper.TransformerStatisticsMapper;
import com.cddx.logistics.service.TransformerStatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;

@Service
public class TransformerStatisticsServiceImpl implements TransformerStatisticsService {

    @Autowired
    private TransformerStatisticsMapper transformerStatisticsMapper;

    @Override
    public List<TransformerStatisticsVo> getTransformerStatisticsByCondition(
            Date startDate, Date endDate, String specifications
    ) {
        return transformerStatisticsMapper.selectTransformerStatisticsByCondition(
                startDate, endDate, specifications
        );
    }
}